package io.kiki.task.common.core.enums;

import lombok.Getter;

/**
 * 1、任务节点 2、条件节点 3、回调节点
 */

@Getter
public enum WorkflowNodeTypeEnum {
    JOB_TASK(1, "JOB任务"),
    DECISION(2, "决策节点"),
    CALLBACK(3, "回调节点"),
    ;

    private final int type;
    private final String desc;

    WorkflowNodeTypeEnum(int type, String desc) {
        this.type = type;
        this.desc = desc;
    }


}
